package com.xingkeduo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 
 * @author sss
 * @time 2018年12月4日 下午1:27:57
 * @description
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableScheduling
@MapperScan({"com.xingkeduo.pojo.query"})
@EnableEurekaClient
@EnableFeignClients
public class WebsocketBuffetApplication
{
	public static void main(String[] args)
	{
		// new SpringApplicationBuilder(ServiceBusApplication.class).web(true).run(args);
		System.setProperty("serviceDatabases", ",MYBATIS_PLUS,");
		SpringApplication.run(WebsocketBuffetApplication.class, args);
	}
}
